/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.myapp.svc.Ratings;

import com.myapp.model.DAO.rating.RatingDao;
import com.myapp.model.usuarios.Usuarios;
import java.util.ArrayList;
import java.util.List;

public class RatingSvc {

    RatingDao rdao = new RatingDao();

    public String getRating(Usuarios u) {
        return rdao.getRating(u);
    }

    public List threePlanets() {

        RatingDao rt = new RatingDao();

        List lista = rt.threePlanets();

        return lista;

    }

    public List getUserMorePtos() {
        return rdao.getUserMorePtos();
    }

    public List getUserMoreExerc() {
        return rdao.getUserMoreExerc();
    }

    public List getExercMoreResolves() {
        return rdao.getExercMoreResolves();
    }
}
